package com.mc.fil.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.mc.common.core.domain.entity.SysUser;
import org.apache.catalina.User;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.mc.common.annotation.Excel;
import com.mc.common.core.domain.BaseEntity;

/**
 * 种植信息 对象 fil_plant_info
 *
 * @author mc
 * @date 2021-04-13
 */
public class FilPlantInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUserIf;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updateUserId;

    /** 位置 */
    @Excel(name = "位置")
    private String location;

    /** 编号 */
    private String id;

    /** 地块名称 */
    @Excel(name = "地块名称")
    private String name;

    /** 品名 */
    @Excel(name = "品名")
    private String partName;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 权属 */
    @Excel(name = "权属")
    private String ownership;

    /** 建植时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "建植时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date buildData;

    /** 建植方式 */
    @Excel(name = "建植方式")
    private String buildMode;

    /** X轴 */
    @Excel(name = "X轴")
    private String x;

    /** 株距*行距 */
    @Excel(name = "株距*行距")
    private String rowDistance;

    /** Y轴 */
    @Excel(name = "Y轴")
    private String y;

    /** 实际种植面积 */
    @Excel(name = "实际种植面积")
    private BigDecimal plantArea;

    /** 是否补苗 */
    @Excel(name = "是否补苗")
    private String isFillSeedlings;

    /** 测量面积 */
    @Excel(name = "测量面积")
    private BigDecimal measurementArea;

    /** 负责人 */
    @Excel(name = "负责人")
    private List<FilUserRelation> dutyUserId;

    /** 成活率 */
    @Excel(name = "成活率")
    private BigDecimal rateSurvival;

    /** 基地编号 */
    @Excel(name = "基地编号")
    private String baseId;

    /** 返青率 */
    @Excel(name = "返青率")
    private BigDecimal greenRate;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    private String rings;

    private String isSow;
    private String waterNum;
    private String weedNum;
    private String fertilizerNum;
    private String diseasesNum;
    private String harvestNum;
    private String dryingNum;
    private String machingNum;

    public String getIsSow() {
        return isSow;
    }

    public void setIsSow(String isSow) {
        this.isSow = isSow;
    }

    public String getWaterNum() {
        return waterNum;
    }

    public void setWaterNum(String waterNum) {
        this.waterNum = waterNum;
    }

    public String getWeedNum() {
        return weedNum;
    }

    public void setWeedNum(String weedNum) {
        this.weedNum = weedNum;
    }

    public String getFertilizerNum() {
        return fertilizerNum;
    }

    public void setFertilizerNum(String fertilizerNum) {
        this.fertilizerNum = fertilizerNum;
    }

    public String getDiseasesNum() {
        return diseasesNum;
    }

    public void setDiseasesNum(String diseasesNum) {
        this.diseasesNum = diseasesNum;
    }

    public String getHarvestNum() {
        return harvestNum;
    }

    public void setHarvestNum(String harvestNum) {
        this.harvestNum = harvestNum;
    }

    public String getDryingNum() {
        return dryingNum;
    }

    public void setDryingNum(String dryingNum) {
        this.dryingNum = dryingNum;
    }

    public String getMachingNum() {
        return machingNum;
    }

    public void setMachingNum(String machingNum) {
        this.machingNum = machingNum;
    }

    public String getRings() {
        return rings;
    }

    public void setRings(String rings) {
        this.rings = rings;
    }

    public void setCreateUserIf(String createUserIf)
    {
        this.createUserIf = createUserIf;
    }

    public String getCreateUserIf()
    {
        return createUserIf;
    }
    public void setUpdateUserId(String updateUserId)
    {
        this.updateUserId = updateUserId;
    }

    public String getUpdateUserId()
    {
        return updateUserId;
    }
    public void setLocation(String location)
    {
        this.location = location;
    }

    public String getLocation()
    {
        return location;
    }
    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setPartName(String partName)
    {
        this.partName = partName;
    }

    public String getPartName()
    {
        return partName;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setOwnership(String ownership)
    {
        this.ownership = ownership;
    }

    public String getOwnership()
    {
        return ownership;
    }
    public void setBuildData(Date buildData)
    {
        this.buildData = buildData;
    }

    public Date getBuildData()
    {
        return buildData;
    }
    public void setBuildMode(String buildMode)
    {
        this.buildMode = buildMode;
    }

    public String getBuildMode()
    {
        return buildMode;
    }
    public void setX(String x)
    {
        this.x = x;
    }

    public String getX()
    {
        return x;
    }
    public void setRowDistance(String rowDistance)
    {
        this.rowDistance = rowDistance;
    }

    public String getRowDistance()
    {
        return rowDistance;
    }
    public void setY(String y)
    {
        this.y = y;
    }

    public String getY()
    {
        return y;
    }
    public void setPlantArea(BigDecimal plantArea)
    {
        this.plantArea = plantArea;
    }

    public BigDecimal getPlantArea()
    {
        return plantArea;
    }
    public void setIsFillSeedlings(String isFillSeedlings)
    {
        this.isFillSeedlings = isFillSeedlings;
    }

    public String getIsFillSeedlings()
    {
        return isFillSeedlings;
    }
    public void setMeasurementArea(BigDecimal measurementArea)
    {
        this.measurementArea = measurementArea;
    }

    public BigDecimal getMeasurementArea()
    {
        return measurementArea;
    }
    public void setDutyUserId(List<FilUserRelation> dutyUserId)
    {
        this.dutyUserId = dutyUserId;
    }

    public List<FilUserRelation> getDutyUserId()
    {
        return dutyUserId;
    }
    public void setRateSurvival(BigDecimal rateSurvival)
    {
        this.rateSurvival = rateSurvival;
    }

    public BigDecimal getRateSurvival()
    {
        return rateSurvival;
    }
    public void setBaseId(String baseId)
    {
        this.baseId = baseId;
    }

    public String getBaseId()
    {
        return baseId;
    }
    public void setGreenRate(BigDecimal greenRate)
    {
        this.greenRate = greenRate;
    }

    public BigDecimal getGreenRate()
    {
        return greenRate;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("createUserIf", getCreateUserIf())
                .append("createTime", getCreateTime())
                .append("updateUserId", getUpdateUserId())
                .append("updateTime", getUpdateTime())
                .append("location", getLocation())
                .append("id", getId())
                .append("name", getName())
                .append("partName", getPartName())
                .append("type", getType())
                .append("ownership", getOwnership())
                .append("buildData", getBuildData())
                .append("buildMode", getBuildMode())
                .append("x", getX())
                .append("rowDistance", getRowDistance())
                .append("y", getY())
                .append("plantArea", getPlantArea())
                .append("isFillSeedlings", getIsFillSeedlings())
                .append("measurementArea", getMeasurementArea())
                .append("dutyUserId", getDutyUserId())
                .append("rateSurvival", getRateSurvival())
                .append("baseId", getBaseId())
                .append("greenRate", getGreenRate())
                .append("status", getStatus())
                .append("rings", getRings())

                .append("isSow", getIsSow())
                .append("waterNum", getWaterNum())
                .append("weedNum", getWeedNum())
                .append("fertilizerNum", getFertilizerNum())
                .append("diseasesNum", getDiseasesNum())
                .append("harvestNum", getHarvestNum())
                .append("dryingNum", getDryingNum())
                .append("machingNum", getMachingNum())
                .toString();
    }
}